<?php

class Application_Model_User
{
	protected $_id;
	protected $_fname;
	protected $_lname;
	protected $_varlist = array();






	public function set($name, $data){
		$this->$name = $data;
		$this->_varlist[] = $name;
		return $this;
	}
	
	public function get($name){
		return $this->$name;
	}


	public function getId()
	{
		return $this->_id;
	}

	public function setId($_id)
	{
		$this->_id = $_id;
		return $this;
	}

	public function getFname()
	{
		return $this->_fname;
	}

	public function setFname($_fname)
	{
		$this->_fname = $_fname;
		return $this;
	}

	public function getLname()
	{
		return $this->_lname;
	}

	public function setLname($_lname)
	{
		$this->_lname = $_lname;
		return $this;
	}
	
	public function getVarList(){
		return $this->_varlist;
	}
}

